﻿namespace CSharpPro._1021;

public class Student
{

    private int id;
    private string name;
    public Student()
    {
        
    }
    public Student(int id, string name)
    {
        this.id = id;
        this.name = name;
    }

    public int Id
    {
        get { return id;}
        set { id = value; }
    }
    public string Name
    {
        get { return name;}
        set { name = value; }
    }


    public int Compare(int a, int b, int c){
        if (a > b && a > c)
        {
            return a;
        }
        else if (b > a && b > c)
        {
            return b;
        }
        else if (c > a && c > b)
        {
            return c;
        }
        else
        {
            return 0;
        }
        
    }
}